﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace ShareFolder.ViewModel
{
    public class Settings : INotifyPropertyChanged
    {
        private bool _enableskydrive;

        public bool EnableSkyDrive
        {
            get
            {
                return this._enableskydrive;
            }
            set
            {
                this._enableskydrive = value;
                this.NotifyPropertyChanged("EnableSkyDrive");
            }
        }

        public Settings()
        {
        }

        private void NotifyPropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged;
            if (propertyChangedEventHandler != null)
            {
                propertyChangedEventHandler(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
